<?
	include_once('portiqus.class.php');
	session_start();

	if (!isset($_SESSION['portiqus']) || !$_SESSION['portiqus'])
	{
		include_once('config.inc.php');
		$portiqus = new portiqus($db_user, $db_pass, $db_datenbank, $base, $mod_pfad, $mod_suffix);
		$portiqus->Login();
		exit;
	}
	else
	{
		$portiqus = $_SESSION['portiqus'];
		$portiqus->CheckAuth();
		$portiqus->Run($_GET['action']);
	}
?>
